package com.zyx.javademo.recursiontree;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>menu实体类</p>
 *
 * @author Yaxi.Zhang
 * @since 2022/8/13 16:45
 */
@Data
@Accessors(chain = true)
public class Menu {
    // 菜单id
    private String id;
    // 菜单名称
    private String name;
    // 父菜单id
    private String parentId;
    // 子菜单
    private List<Menu> childMenus;
}
